<h1>User Profile</h1>
<label>Username</label>
<?php echo $userx->getUsername(); ?>
<label>First Name</label>
<?php echo $userx->getProfile()->getFirstName(); ?>
<label>Last Name</label>
<?php echo $userx->getProfile()->getLastName(); ?>
<label>Email Address</label>
<?php echo $userx->getProfile()->getEmailAddress(); ?>
<br />
<?php if ($enableedit): ?>
<?php echo link_to('edit','@edituser'); ?>
<?php endif; ?>